package com.job.springsea.work0712;

import java.util.Scanner;

/**
 * @author 于春海
 * @version 1.0
 * @since 2022-07-12 19:24:36
 */
public class TestTiger {
    public static void main(String[] args) {
        Tiger tiger=new Tiger();
        tiger.setName("泰哥");
        while(true)
        {
            Scanner sc=new Scanner(System.in);
            System.out.println("请选择你要输入的攻击类型方式:1?2?3?");
            String number=sc.next();
            if(number.equals("exit"))
                break;
            tiger.attack(number);
        }

    }

}